package com.itqf.service;

import com.itqf.pojo.Goods;
import com.itqf.vo.PageBean;

import java.sql.SQLException;
import java.util.Map;

/**
 * projectName: gpshop
 *
 * @author: 赵伟风
 * time: 2021/7/22 16:15
 * description:
 */
public interface GoodsService {

    /**
     * 分页查询业务
     * @param parameterMap
     * @return
     */
    PageBean<Goods> findPage(Map<String, String[]> parameterMap) throws SQLException;

    /**
     * 根据商品id查询商品实体
     * @param gId
     * @return
     */
    Goods findDetail(String gId) throws SQLException;
}
